
var picUrl = 'img/pic.png'
var num1=0;
var vm =new Vue({
    el:'#app2',
    data:{
        arr:[
            {pic:picUrl,title:'秋刀鱼/斤',price:13,num:num1},
            {pic:picUrl,title:'秋刀鱼/斤', price:14,num:1},
            {pic:picUrl,title:'秋刀鱼/斤',price:15,num:2},
            {pic:picUrl,title:'秋刀鱼/斤',price:32,num:3},
        ],
        quan:['32减12','70减35','100减45','150减60']
    },
    methods:{
        add(){
            num1=num1+1;
    
        }
    }
})
